﻿using System.Runtime.Serialization;

namespace Toybox.NicoSharp.Live.LiveGuide
{
	using Primitives;

	partial class ZeroStreamList
	{
		/// <summary>
		/// 番組 クラス
		/// </summary>
		[DataContract]
		public class ZeroStream : AbstractLiveGuideStream
		{
			/// <summary>
			/// プロバイダ タイプ
			/// </summary>
			[DataMember]
			public string provider_type;

			/// <summary>
			/// 画像URL
			/// </summary>
			[DataMember]
			public string picture_url;

			/// <summary>
			/// 開始時間
			/// </summary>
			[DataMember]
			public string start_time;

			/// <summary>
			/// 終了時間
			/// </summary>
			[DataMember]
			public string end_time;

			/// <summary>
			/// 開始時間(タイプスタンプ)
			/// </summary>
			[DataMember]
			public int start_date_timestamp_sec;

			/// <summary>
			/// 終了時間(タイプスタンプ)
			/// </summary>
			[DataMember]
			public int end_date_timestamp_sec;

			/// <summary>
			/// 現在の状態
			/// </summary>
			[DataMember]
			public string currentstatus;

			/// <summary>
			/// タイムシフト有効
			/// </summary>
			[DataMember]
			public string timeshift_enabled;

			/// <summary>
			/// 来場者数
			/// </summary>
			[DataMember]
			public string view_counter;

			/// <summary>
			/// コメント数
			/// </summary>
			[DataMember]
			public int comment_count;

			/// <summary>
			/// タイムシフト予約数
			/// </summary>
			[DataMember]
			public int timeshift_reserved_count;

			/// <summary>
			/// 公式
			/// </summary>
			[DataMember]
			public bool is_product;

			/// <summary>
			/// 
			/// </summary>
			[DataMember]
			public bool is_exclude_private;

			/// <summary>
			/// 
			/// </summary>
			[DataMember]
			public bool is_exclude_non_display;

			/// <summary>
			/// ツイッタータグ
			/// </summary>
			[DataMember]
			public string twitter_tag;

			/// <summary>
			/// ツイッター無効
			/// </summary>
			[DataMember]
			public bool twitter_disabled;

			/// <summary>
			/// 
			/// </summary>
			[DataMember]
			public string closed_total_template;

			/// <summary>
			/// チケットURL
			/// </summary>
			[DataMember]
			public string ticket_url;

			/// <summary>
			/// タイムシフト締め切り
			/// </summary>
			[DataMember]
			public bool is_timeshift_already_closed;

			/// <summary>
			/// タイムシフト準備中
			/// </summary>
			[DataMember]
			public bool is_timeshift_preparing;

			/// <summary>
			/// 
			/// </summary>
			[DataMember]
			public bool view_channel_icon;
		}
	}
}